//
//  CollegeStudent.h
//  OC3_继承
//
//  Created by dllo on 15/10/26.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "Student1.h"

@interface CollegeStudent : Student1

{
    NSString *_major;
    CGFloat _credit;
}

- (NSString *)major;

- (void)setMajor:(NSString *)major;

- (CGFloat)credit;

- (void)setCredit:(CGFloat)credit;

- (void)info;

- (id)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age score:(CGFloat)score major:(NSString *)major credit:(CGFloat)credit;

+ (id)CollegeStudentWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age score:(CGFloat)score major:(NSString *)major credit:(CGFloat)credit;

@end
